<?php

/**
 * NotFoundException
 *
 * @author vbolshov
 */

namespace km\exception;

class NotFoundException extends HttpErrorException {
	function __construct($message = null, $code = 404)
	{
		$message = $message ?: '404 Not Found';
		parent::__construct($message, $code);
		$this->header('Status: 404 Not Found', 404);
	}
}